﻿<%@ Page Language="C#" MasterPageFile="~/education.master" AutoEventWireup="true" CodeFile="eduenterExampaper.aspx.cs" Inherits="eduenterExampaper" Title="Untitled Page" %>
<%@ register assembly="Infragistics2.WebUI.WebDataInput.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
        namespace="Infragistics.WebUI.WebDataInput" tagprefix="igtxt" %>
<%@ register assembly="Infragistics2.WebUI.Misc.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
            namespace="Infragistics.WebUI.Misc" tagprefix="igmisc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="EduContent" Runat="Server">
    <igmisc:WebPanel ID="WebPanel1" runat="server" CssClass="igwpMainSilver2k7" Style="width: 100%;
        height: 100%">
        <PanelStyle CssClass="igwpPanelSilver2k7">
        </PanelStyle>
        <Header Text="选择要出题的课程">
            <ExpandedAppearance>
                <Styles CssClass="igwpHeaderExpandedSilver2k7">
                </Styles>
            </ExpandedAppearance>
            <HoverAppearance>
                <Styles CssClass="igwpHeaderHoverSilver2k7">
                </Styles>
            </HoverAppearance>
            <CollapsedAppearance>
                <Styles CssClass="igwpHeaderCollapsedSilver2k7">
                </Styles>
            </CollapsedAppearance>
        </Header>
        <Template>
            <table style="width: 100%;">
                <tbody>
                    <tr>
                        <td align="center">
                            <asp:GridView ID="gvwCourse" runat="server" AutoGenerateColumns="False" 
                                DataKeyNames="CourseID" DataSourceID="SqlDataSource1">
                                <Columns>
                                    <asp:BoundField DataField="CourseID" HeaderText="CourseID" 
                                        InsertVisible="False" ReadOnly="True" SortExpression="CourseID" 
                                        Visible="False" />
                                    <asp:BoundField DataField="课程名称" HeaderText="课程名称" SortExpression="课程名称" >
                                        <ItemStyle Width="500px" />
                                    </asp:BoundField>
                                     <asp:HyperLinkField Text="&lt;img src='images/Edit.gif' border='0' /&gt;" 
                DataNavigateUrlFormatString="eduExamPaper.aspx?CourseID={0}" 
                DataNavigateUrlFields="CourseID" />
                                </Columns>
                                <EmptyDataTemplate>
                                    <b>当前没有员工信息</b>
                                </EmptyDataTemplate>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:smsConnectionString %>"
                                
                                
                                SelectCommand="SELECT CourseID, CourseName AS 课程名称 FROM CourseInfo WHERE (IsDeleted &lt;&gt; @IsDeleted)">
                                <SelectParameters>
                                    <asp:Parameter DefaultValue="true" Name="IsDeleted" Type="Boolean" />
                                </SelectParameters>
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                </tbody>
            </table>
        </Template>
    </igmisc:WebPanel>
   
</asp:Content>

